package com.atguigu.tingshu.album.client.impl;


import com.atguigu.tingshu.album.client.AlbumInfoFeignClient;
import com.atguigu.tingshu.common.result.Result;
import com.atguigu.tingshu.model.album.AlbumInfo;
import com.atguigu.tingshu.vo.album.AlbumStatVo;
import org.springframework.stereotype.Component;

@Component
public class AlbumInfoDegradeFeignClient implements AlbumInfoFeignClient {


	@Override
	public Result<AlbumInfo> getAlbumInfo(Long id) {
		System.out.println("AlbumInfoDegradeFeignClient.getAlbumInfo");
		return Result.fail();
	}

	@Override
	public Result<AlbumStatVo> getAlbumStatByAlbumId(Long albumId) {
		System.out.println("AlbumInfoDegradeFeignClient.getAlbumStatByAlbumId");
		return Result.fail();
	}
}
